[#import "/framework/JGP.htm"  as JGP]
<!--
项目   glSystem
作者   fdp
时间   2018/8/2
-->
[@JGP.head "Title"/]
[@JGP.body]
<jgp-div _row="['*','*']" _runit="px" _aux="true">
    <jgp-form slot="1-1" _action="/glMeeting/meetingManagerRelationApiController/addMeetingManagerRelation" _method="POST"  _id="addMeetingManagerRelation">
        <jgp-hidden  _col="12" _label="隐藏会议id:" _name="meetingId" _value='${meetingId}'></jgp-hidden>
        <jgp-drop _label="会议主管" _name="ManagerId"
                  _url="/glMeeting/meetingManagerRelationApiController/queryAllManager">
        </jgp-drop>
    </jgp-form>

    <jgp-div slot="2-1" _col="['*','*']"  _aux="false">
        <jgp-btn slot="1-1" _fn="addMeetingManagerRelation">确认设置</jgp-btn>
    </jgp-div>
</jgp-div>
[/@JGP.body]

[@JGP.foot]
<script>
      function addMeetingManagerRelation() {
          var addMeetingManagerRelation=JGP.form("addMeetingManagerRelation");
          addMeetingManagerRelation.ajaxSubmit(function success(res) {
              if(res.flag==true){
                  JGP.$alert("添加成功");
               //   JGP.form("addMeetingManagerRelation").reset();
                  JGP.$close(res.flag);
              }
          },function error(er) {
              if(er.flag==false){
                  JGP.$alert("添加失败");
                  //   JGP.form("addMeetingManagerRelation").reset();
                  JGP.$close(res.flag);
              }
          })
      }
</script>
[/@JGP.foot]